﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OverLoadDemo
{
    class Program
    {
        private static readonly object pai;

        static void Main(string[] args)
        {
            //Staff sta = new Staff();
            //sta.User = "1011";
            //sta.Number = 9527;
            //sta.Name = "秃不拉几";
            //sta.DepartInfo = "小卖部";
            //sta.userInfo();

            //Staff sta2 = new Staff("1022",999, "憨不拉几", "养老部");
            //sta2.userInfo();
            //SumUtils s = new SumUtils();
            //Console.WriteLine("请输入一个数：");
            //int sum = int.Parse(Console.ReadLine());

            //Console.WriteLine(s.numSum(sum));
            //int result= s.numSum(1,2);
            //double result1 = s.numSum(1.1, 2.2);
            //string result2 = s.numSum("傻不", "拉几");
            //Console.WriteLine(result);
            //Console.WriteLine(result1);
            //Console.WriteLine(result2);
            Area a= new Area();
            double area = a.area(3.14,2);
            double area1 = a.area(2,3);
            Console.WriteLine(area);
        }
    }
}
